package com.gzx.plugin.tjzy.modular.gzxcase.mapper;

import com.gzx.plugin.tjzy.modular.gzxcase.entity.GzxCaseDetail;
import com.gzx.plugin.tjzy.modular.gzxcase.vo.GzxCaseDetailVo;
import org.apache.ibatis.annotations.Insert;
import vip.xiaonuo.common.mapper.BaseMapperPlus;

/**
 * @author zjt
 * @description
 * @date 2024/10/16 13:49
 */
public interface GzxCaseDetailMapper extends BaseMapperPlus<GzxCaseDetail, GzxCaseDetailVo> {

    /**
     * 批量新增案件明细
     *
     * @param valueSql
     * @return
     */
    @Insert("<script>" +
            "INSERT INTO gzx_case_detail " +
            "(debtor_card_id, batch_number, loan_amount, overdue_amount,overdue_date,contract_no," +
            "partner_business_id, tenant_id,create_user, create_time) " +
            "VALUES ${valueSql}" +
            "</script>")
    int insertBatch(String valueSql);
}
